package com.photoeditor.demo.util;

import com.common.base.ComponentContext;
import com.common.base.utils.DeviceUtils;

public class TouchUtil {
	/**
	 * 用于移除那些比较少的移动 防止抖动
	 */
	public static final int OFFSET = DeviceUtils.dip2px(ComponentContext.getContext(), 3);
	
	/**
	 * 用于小Button增加点击区域
	 */
	public static final int TOUCH_BUTTON_OFFSET = DeviceUtils.dip2px(ComponentContext.getContext(), 4);

	/**
	 * 操作上下左右拉伸的半径
	 */
	public static final int TOUCH_LINE_OFFSET = DeviceUtils.dip2px(ComponentContext.getContext(), 8);
}
